import {  makeObservable, observable } from 'mobx'
function  roudom(max,min) {
    const diff = Math.ceil(Math.random()*(max-min))
    return min+diff
}
class CreateStore {
  title='苹果'
  eat=false
  gram=roudom(200,210)
  constructor(){
    makeObservable(this,{
      eat:observable
    })
  }
}
export default CreateStore